package com.wanxi.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 私教
 * @author Chengbo Zhang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String teacherName;
    private String level;
    private String imageLocation;
    private Integer enable;
    private Date createTime;
    private Date updateTime;
    private String remark;
}
